<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%-- 
           设置窗口
 --%>
<div aria-hidden="true" aria-labelledby="myModalLabel" id="showWinOfSure" role="dialog" tabindex="-1" class="modal fade" style="display: none;">
    <div class="modal-dialog" style="width:400px">
        <div class="modal-content">
            <div class="modal-header">
                <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
                <h4 id="myModalLabel" class="modal-title">提示</h4>
            </div>
            <div class="modal-body">
                <div id="winOfSureText" style="text-align: center; font-size: 16px;">快小递</div>
            </div>
            <div class="modal-footer" style="text-align: center; ">
          		<button class="btn btn-danger" id="winOfSure" type="button" style="margin-right: 60px;width: 100px;">确定</button>
                <button data-dismiss="modal" class="btn btn-warning" type="button" style="width: 100px;">取消</button>
            </div>
        </div>
    </div>
</div>

<%--
	编辑快递员信息
--%>
<div aria-hidden="true" aria-labelledby="myModalLabel" id="addOrEidtCourier" role="dialog" tabindex="-1" class="modal fade" style="overflow:scroll">
    <div class="modal-dialog" style="width:600px">
        <div class="modal-content">
            <div class="modal-header">
                <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
                <h4 id="myModalLabel" class="modal-title">编辑快递员信息</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" method="get">
                	<input type="hidden" name="courierId" value=""/>
					<div class="form-group">
						<label class="col-sm-2 control-label">姓名</label>
						<div class="col-sm-6">
							<input class="form-control" type="text" name="name">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">手机</label>
						<div class="col-sm-6">
							<input class="form-control" type="text" name="telephone">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">公司</label>
						<div class="col-sm-6">
							<select onchange="selectHotLine(this,'addOrEidtCourier input[name=&quot;userHotline&quot;]')" name="company" class="form-control m-b type">
         					</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">热线电话</label>
						<div class="col-sm-6">
							<input class="form-control" type="text" name="userHotline" value="--">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">审核状态</label>
						<div class="col-sm-6">
							<select name="status" class="form-control m-b type">
								<option value="1">已审核通过</option>
								<option value="0">未审核</option>
								<option value="2">审核未通过</option>
							</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label" >推荐类别</label>
						<div class="col-sm-6">
						<select name="tjType" class="form-control m-b type">
							<option value="4">系统推荐</option>
							<option value="0">无推荐人</option>
							<option value="1">快递员推荐</option>
							<option value="2">内部推荐码</option>
							<option value="3">内部测试</option>
						</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">接单状态</label>
						<div class="col-sm-6">
							<select name="isAccept" class="form-control m-b type">
								<option value="1">接单</option>
								<option value="0">不接单</option>
							</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">类别</label>
						<div class="col-sm-6">
							<select name="type" class="form-control m-b type">
	         					<option value="1">快递员</option>
	         					<option value="2">送件快递员</option>
	         					<option value="3">站长</option>
	         				</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">选择站点</label>
						<div class="col-sm-6">
							<input class="form-control" type="text" name="siteId" data-toggle="dropdown" aria-expanded="true" onkeyup="initCourierSite($(this).val(),1);">
							<ul class="dropdown-menu zhandian" >
                                <%--<li class="divider"></li>
                                <li><a href="form_basic.html#">选项4</a>
                                </li>
                            --%>
                            </ul>
						</div>
						
					</div>
					<div class="form-group cEdit">
						<label class="col-sm-2 control-label">申请时间</label>
						<div class="col-sm-6">
							<input class="form-control" type="text" name="registTime">
						</div>
					</div>
					<div class="form-group cEdit">
						<label class="col-sm-2 control-label">审核时间</label>
						<div class="col-sm-6">
							<input class="form-control" type="text" name="checkCourierTime">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">备注</label>
						<div class="col-sm-6">
							<input class="form-control" type="text" name="remark">
						</div>
					</div>
				</form>
            </div>
            <div class="modal-footer" style="text-align: center; ">
          		<button class="btn btn-danger" type="button" style="margin-right: 60px;width: 100px;" onclick="addNewCourier()">新建</button>
                <button data-dismiss="modal" class="btn btn-warning" type="button" style="width: 100px;">取消</button>
            </div>
        </div>
    </div>
</div>